package com.hfmall.service.impl;

import com.hfmall.entity.HfComments;
import com.hfmall.mapper.HfCommentsMapper;
import com.hfmall.service.IHfCommentsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liclo
 * @since 2021-08-12
 */
@Service
public class HfCommentsServiceImpl extends ServiceImpl<HfCommentsMapper, HfComments> implements IHfCommentsService {
    @Resource
    private HfCommentsMapper commentsMapper;
    @Override
    public void updateByID(HfComments comments) {
        commentsMapper.updateByID(comments);
    }
}
